package com.cpecc.manager.system;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cpecc.dao.system.BiZhongDao;
import com.cpecc.model.system.BiZhong;

@Service
public class BiZhongManager {

	@Autowired
	private BiZhongDao biZhongDao;
	
	public void save(BiZhong biZhong){
		biZhongDao.save(biZhong);
	}
	
	public List<BiZhong> getAllBiZhong(){
		return biZhongDao.getAllBiZhong();
	}
	
	public boolean cover(BiZhong biZhong){
		return biZhongDao.cover(biZhong);
	}
	
	public void delete(BiZhong biZhong){
		biZhongDao.delete(biZhong);
	}
	
	public BiZhong get(String id){
		return biZhongDao.get(id);
	}
}
